<template>
  <div>
    <PhoneInp @next="PhoneInpNext" v-if="prog === 1" />
    <Pwd v-if="prog === 2" @login="login" />

  </div>
</template>

<script>
import PhoneInp from './rely/PhoneInp'
import Pwd from './rely/Pwd'
export default {
  data() {
    return {
      prog:2,
      
    }
  },
  components:{PhoneInp , Pwd},
  methods: {
    PhoneInpNext(e){
      console.log(e);
      this.prog++
    },
    login(e){


    }
  },
}
</script>

<style>

</style>